/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 京东风格登录页面 */
.login-container {
    background: url('https://ts1.tc.mm.bing.net/th/id/R-C.5ed0897a486be7aa0ee35688e2b35518?rik=owRMso4E2UGNEQ&riu=http%3a%2f%2fwww.v3wall.com%2fwallpaper%2f1920_1200%2f1207%2f1920_1200_20120727122504514090.jpg&ehk=zS%2fd8Ed8%2b3fjJQ5eyAa97UfWPXxU8ahmCxJ6eNcSgQA%3d&risl=&pid=ImgRaw&r=0') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    padding: 20px;
}

.login-wrapper {
    width: 100%;
    max-width: 380px;
}

.login-box {
    background: #fff;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.login-header {
    margin-bottom: 25px;
}

.login-tabs {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.login-tabs span {
    padding: 0 20px;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    position: relative;
}

.login-tabs span.active {
    color: #e4393c;
    font-weight: bold;
}

.login-tabs span.active:after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #e4393c;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    height: 42px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    color: #000;
    /* 设置文字颜色为黑色 */
}

.form-group input:focus {
    border-color: #e4393c;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    color: #666;
}

.remember-me input {
    margin-right: 5px;
}

.forgot-password {
    color: #666;
    text-decoration: none;
}

.forgot-password:hover {
    color: #e4393c;
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    height: 42px;
    background: #e4393c;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background 0.3s;
}

.login-btn:hover {
    background: #c91623;
}

.login-btn:disabled {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}

.register-link {
    text-align: center;
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.register-link a {
    color: #e4393c;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

.third-party-login {
    margin-top: 25px;
}

.divider {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
}

.divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #eee;
    z-index: 1;
}

.divider span {
    position: relative;
    display: inline-block;
    padding: 0 15px;
    background: #fff;
    color: #999;
    font-size: 14px;
    z-index: 2;
}

.login-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.login-icons a {
    color: #999;
    font-size: 24px;
    transition: color 0.3s;
}

.login-icons a:hover {
    color: #e4393c;
}

.error-message {
    display: flex;
    align-items: center;
    color: #e4393c;
    font-size: 14px;
    background: #ffebeb;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.error-message i {
    margin-right: 8px;
    font-size: 16px;
}

/* 图标样式 - 可以使用iconfont或自行替换 */
.icon-warning:before {
    content: '⚠️';
}

.icon-wechat:before {
    content: '💬';
}

.icon-qq:before {
    content: '🐧';
}

.icon-weibo:before {
    content: '📱';
}